// 导入axios实例对象request
import request from '@/util/request.js'

// 创建updateAPI并抛出共享
export const updateAPI = (id, email, mobile) => {
  return request.put(`users/${id}`, { email, mobile })
}
